class Comment < ActiveRecord::Base
  belongs_to :post
  belongs_to :comment
  has_many :comments, :dependent => :nullify

  validates_presence_of :name
  validates_presence_of :email
end
